import request from '/@/utils/request';

export const configlist = (params?: Object) => {
	return request({
		url: '/base/config/list',
		method: 'get',
		params,
	});
};
export function getObj(id?: string) {
	return request({
		url: '/base/config/details/' + id,
		method: 'get',
	});
}

export function update(obj: Object) {
	return request({
		url: '/base/config/update',
		method: 'put',
		data: obj
	});
}